<?php $view->extend('admin/donation/template', 'content', array('title' => 'Donation')); ?>



	<h2>Donation list</h2>
<table class="nice" cellspacing="0" summary="Commands">
	<caption>Server statistics</caption>
	<tr>
		<th scope="col" abbr="Title" class="nobg">Name</th>
		<th scope="col" abbr="Edit">Edit</th>
		<th scope="col" abbr="Edit">Delete</th>
	</tr>
			
			
	<?php foreach($donations as $d):?>
		<tr>
			<td><?php echo $d->getName()?></td>
			<td><a href="<?php echo $view->url->linkTo('Admin','donation', array('edit', $d->getID()))?>">Edit</a></td>
			<td><a href="<?php echo $view->url->linkTo('Admin','donation', array('delete', $d->getID()))?>">Delete</a></td>
		</tr>
	<?php endforeach;?>		

</table>	
